package com.sjg.sys.entity;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

/**
 * 基础实体类所以类必须继承他(除日志，登陆记录)
 */
public class BaseEntity implements Serializable{

    /*主键自增*/
    private Long id;
    /*创建时间*/
    private Timestamp createTime;
    /*创建人ID*/
    private Long creatorId;
    /*修改时间*/
    private Timestamp updateTime;
    /*修改人ID*/
    private Long updatorId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Long getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdatorId() {
        return updatorId;
    }

    public void setUpdatorId(Long updatorId) {
        this.updatorId = updatorId;
    }

/*留下扩展 todo*/
}
